<!DOCTYPE html >
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
</head>

<body>

<div id="msg">信息已发送，请看父页面</div>
</body>
</html>
<script>
var domain='http://localhost:3333';

window.opener.postMessage("你好我是子页面","*")
</script>